package com.basic.business.prodRel.service.impl;

import org.springframework.stereotype.Service;
import com.basic.common.core.service.impl.BaseServiceImpl;
import com.basic.business.prodRel.domain.TProdRelDetails;
import com.basic.business.prodRel.service.ITProdRelDetailsService;
import com.basic.business.prodRel.mapper.TProdRelDetailsMapper;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务-商品关系明细Service业务层处理
 *
 * @author zhaoxy_jn@163.com
 */
@Service
public class TProdRelDetailsServiceImpl extends BaseServiceImpl<TProdRelDetailsMapper,TProdRelDetails> implements ITProdRelDetailsService {

    @Resource
    private TProdRelDetailsMapper tProdRelDetailsMapper;

    @Override
    public List<TProdRelDetails> getProdDetailsByMainId(String mainId) {
        return tProdRelDetailsMapper.getProdDetailsByMainId(mainId);
    }
}
